package com.spring.context.event;

import com.spring.context.ApplicationEvent;
import com.spring.context.ApplicationListener;

/**
 * @Description: This is a sample class.
 * @Author: Simon
 */
public interface ApplicationEventMulticaster {
    void addApplicationListener(ApplicationListener<?> listener);

    void removeApplicationListener(ApplicationListener<?> listener);

    void multicastEvent(ApplicationEvent event);
}
